package org.lzuploader.gui.listeners.options;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;

/** This class is used when a user clicks on the create desktop shortcut button.
 * 
 * @author Emmanuel Cron
 *
 */
public class DesktopShortcutSelectionListener implements SelectionListener
{
    /** The logger for this class. */
    private static Log log = LogFactory.getLog(DesktopShortcutSelectionListener.class);
    
    /** Localization of this class. */
    //private Localization localization = Localization.getInstance();
    
    /** Used when the widget is selected by default.
     * @param e The associated event
     */
    @Override
    public void widgetDefaultSelected(final SelectionEvent e)
    {
        widgetSelected(e);
    }

    /** Used when the user clicked on the widget.
     * @param e The associated event
     */
    @Override
    public void widgetSelected(final SelectionEvent e)
    {
        log.debug("User clicked on the Desktop Shorcut button.");
        
        //Program p;
    }

}
